const fs = require('fs/promises');
const path = require('path');




async function  main () {
  const inputPath = "../";
  const relateivePath = path.relative(__dirname , inputPath); // from to
  const fileName = 'pdf_word.txt';
  try{
    // fs.readdir(relateivePath,);
    const outputFile = path.join(__dirname,"./output",fileName,);
    // await fs.write(outputFile,'utf-8')
    console.log(outputFile);
  }catch(e){

  }
}

main();

module.exports = exports =  main;
